#include <stdio.h>

typedef struct point 
{
	int x;
	int y;
} point;


int testing(point* space)
{
	printf ("space = %p\n",space);
	space=(point*) malloc (sizeof(point));
	printf ("space = %p\n",space);
	space->x=5;
	space->y=10;
	printf("x : %d, y : %d\n",space->x,space->y);
}

int main(int argc, char** argv)
{
	
	point *space=NULL;
	testing (space);
	printf("x : %d, y : %d\n",space->x,space->y);
}
